<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户注册</title>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<link rel="stylesheet" href="${pageContext.request.contextPath }/pages/static/css/register.css" />
</head>
<body>
	
	<div class="title">用&nbsp;户&nbsp;注&nbsp;册</div>
		<div class="mian">
			<form action="http://localhost:8080/SSM_Student/user/register.do" method="POST">
				<label for="name">用户：</label>
				<input type="text" name="username" placeholder="请输入用户名"/><br>
				<font color="red">${usernameError }</font>
				<br />
				<label>密码：</label>
				<input type="password" name="Pwd" placeholder="请输入密码 "/><br>
				<font color="red">${pwdError2 }</font>
				<br />
				<div>
		<label class="radio inline">
			<input id="student" type="radio" name="type" value="0" style="width: 30px;"> 学生
		</label>
		<label class="radio inline">
			<input id="teacher" type="radio" name="type" value="1" style="width: 30px;"> 教师
		</label>
		</div>
				<input type="submit" value="注册" id="sub"/>
			</form>
		</div>
	
</body>
</html>